﻿namespace ATM.Model
{
    internal class CreditCardInfo
    {
        public string Number { get; private set; }
        public int ValidThroughMonth { get; private set; }
        public int ValidThroughYear { get; private set; }

        public CreditCardInfo(string number, int validThroughMonth, int validThroughYear)
        {
            this.Number = number;
            this.ValidThroughMonth = validThroughMonth;
            this.ValidThroughYear = validThroughYear;
        }

    }
}
